local heng__yihu = fk.CreateSkill {
  name = "heng__yihu",
}

Fk:loadTranslationTable{
  ["heng__yihu"] = "医护",
  [":heng__yihu"] = "当你使用【桃】指定一名角色为目标后，你可以令其摸一张牌",
  ["#heng__yihu"] = "医护：是否令其摸一张牌",
}

heng__yihu:addEffect(fk.TargetSpecified, {
  anim_type = "support",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(heng__yihu.name) and data.card.trueName == "peach"
  end,
  on_cost = function(self, event, target, player, data)
    if player.room:askToSkillInvoke(player, {
      skill_name = heng__yihu.name,
      prompt = "#heng__yihu",
    }) then
      event:setCostData(self, {tos = {data.to}})
      return true
    end
  end,
  
  on_use = function(self, event, target, player, data)
    local room = player.room
    local targetRole = data.to
    
    room:drawCards(targetRole, 1, self.name)
  end,
})

return heng__yihu